home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000352_news@newsmaster….columbia.edu _Mon Sep 15 12:03:21 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA24726
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 15 Sep 1997 12:03:20 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA24467
for kermit.misc@watsun; Mon, 15 Sep 1997 12:03:19 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Swich
Date: 15 Sep 1997 16:03:17 GMT
Organization: Columbia University
Lines: 43
Message-ID: <5vjm85$8fo$1@apakabar.cc.columbia.edu>
References: <341A6FFB.54F764F7@free.xtel.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7675
In article <341A6FFB.54F764F7@free.xtel.com>,
Seongsu Lee <seongsu@free.xtel.com> wrote:
: Hi,
: After connecting to a system through the c-kermit...
: When I output the chracter "wh ABC" to remove system,
: it send me
: "
: ID ABC is not on server
: >>
: "
:
: or
:
: "
: ID ABC is on server
: >>
: "
:
: So, I want to hangup and quit when ABC is not on server.
: But I want to run other c-kermit script whn ABC is on server.
: How can I construct the script??
: I don't know how to input the data when the data is consist with
: more than 2 lines.. (Thanks for reading. I'm not good at Eng)
:
I already replied to essentially the same question by email, but for
the record...
This is a perfectly straightforward use of the script language, which is
documented in chapters 17-19 of "Using C-Kermit":
http://www.columbia.edu/kermit/ck60.html
Very briefly, your script would look something like this:
output {wh Goodbye\10}
minput 30 {ID(Goodbye)is not on server now} {ID(Goodbye) is in chat room now}
switch \v(minput) {
:0, stop 1 No response from host
:1, hangup, quit
:2, take pager.s
}
- Frank